-
Home
-
Defender Security – Malware Scanner, Login Security & Firewall
-
5.6.1 (latest)
-
Code
-
Classes
- User_Agent
| Total Complexity |
47 |
| Dependencies |
6 |
| Dependents |
14 |
| Total lines |
365 |
| Lines of code |
185 |
| Logical lines of code |
100 |
| Comment lines |
110 |
| Methods |
18 |
| Properties |
2 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| verify_import_file() |
S |
49 |
7 |
30 |
| log_event() |
S |
50 |
5 |
29 |
| is_bad_user_agent() |
S |
57 |
5 |
15 |
| get_status_text() |
S |
59 |
4 |
14 |
| is_bad_post() |
S |
67 |
4 |
7 |
| check_and_remove_duplicates() |
S |
64 |
4 |
9 |
| get_nested_keys_of_blocklist_presets() |
S |
64 |
3 |
10 |
| get_blocklist_presets() |
S |
57 |
1 |
18 |
| is_active_component() |
S |
79 |
2 |
3 |
| get_message() |
S |
73 |
2 |
5 |
| block_user_agent_or_ip() |
S |
66 |
2 |
8 |
| sanitize_user_agent() |
S |
64 |
2 |
10 |
| get_script_presets() |
S |
62 |
1 |
12 |
| __construct() |
S |
76 |
1 |
4 |
| add_hooks() |
S |
91 |
1 |
2 |
| fast_cleaning() |
S |
79 |
1 |
3 |
| is_blocklist_presets() |
S |
78 |
1 |
3 |
| is_script_presets() |
S |
78 |
1 |
3 |